package com.dw.best_base

import com.kingja.loadsir.core.LoadService
import com.loper7.base.ui.BaseActivity
import kotlinx.android.synthetic.main.activity_toast.*
import com.kingja.loadsir.core.LoadSir


/**
 * @author LOPER7
 * @date 2018/12/11 16:50
 * @Description:
 */
class ToastActivity : BaseActivity() {

    override fun getContentViewId(): Int {
        return R.layout.activity_toast
    }

    override fun initData() {

    }

    override fun initView() {

        button_toast_success.setOnClickListener {
            showSuccessMessage("SUCCESS")
        }
        button_toast_default.setOnClickListener {
            showMessage("DEFAULT")
        }
        button_toast_warring.setOnClickListener {
            showWarningMessage("WARRING")
        }
        button_toast_error.setOnClickListener {
            showErrorMessage("ERROR")
        }

    }

    override fun initListener() {

    }

}

